<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="utf-8"/>
	<title>海宁至娱智乐</title>
	<meta name="renderer" content="webkit"/>
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
	<meta http-equiv="Access-Control-Allow-Origin" content="*"/>
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
	<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
	<meta name="apple-mobile-web-app-capable" content="yes"/>
	<meta name="format-detection" content="telephone=no"/>
	<link rel="icon" th:href="@{images/zyzl.png}"/>
	<link rel="stylesheet" th:href="@{layui/css/layui.css}" media="all"/>
	<!--<link rel="stylesheet" href="//at.alicdn.com/t/font_tnyc012u2rlwstt9.css" media="all" />-->
	<link rel="stylesheet" th:href="@{css/main.css}" media="all"/>
	<style type="text/css">
		.layui-nav-tree .layui-nav-item a.icon_m {
			color:#919ab2;
			font-size:16px!important;
		}

		@font-face {font-family: "iconfont";
			src: url('./fonts/iconfont/iconfont.eot'); /* IE9*/
			src: url('./fonts/iconfont/iconfont.eot#iefix') format('embedded-opentype'), /* IE6-IE8 */
			url('./fonts/iconfont/iconfont.woff') format('woff'), /* chrome, firefox */
			url('./fonts/iconfont/iconfont.ttf') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
			url('./fonts/iconfont/iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */
		}

		.iconfont {
			font-family:"iconfont" !important;
			font-size:16px;
			font-style:normal;
			-webkit-font-smoothing: antialiased;
			-webkit-text-stroke-width: 0.2px;
			-moz-osx-font-smoothing: grayscale;
		}

		.layui-nav-tree .layui-nav-item a:hover{
			color:#fff!important;
		}
	</style>
</head>
<body class="main_body">
	<input type="hidden" id="userInfo"/>
	<input type="hidden" id="rootPath" th:value="${#httpServletRequest.getContextPath()}"/>

	<div class="layui-layout layui-layout-admin">
		<!-- 顶部 -->
		<div class="layui-header header">
			<div class="layui-main">
				<a href="#" class="logo">海宁至娱智乐</a>
				<!-- 显示/隐藏菜单 -->
				<a href="javascript:void(0);" class="icon iconfont hideMenu" style="font-style: 22px;">&#xe618;</a>
				<!-- 搜索 -->
				<!--<div class="layui-form component">-->
			        <!--<select name="modules" lay-verify="required" lay-search="">-->
						<!--<option value="">直接选择或搜索选择</option>-->
						<!--<option value="1">layer</option>-->
						<!--<option value="2">form</option>-->
						<!--<option value="3">layim</option>-->
						<!--<option value="4">element</option>-->
						<!--<option value="5">laytpl</option>-->
						<!--<option value="6">upload</option>-->
						<!--<option value="7">laydate</option>-->
						<!--<option value="8">laypage</option>-->
						<!--<option value="9">flow</option>-->
						<!--<option value="10">util</option>-->
						<!--<option value="11">code</option>-->
						<!--<option value="12">tree</option>-->
						<!--<option value="13">layedit</option>-->
						<!--<option value="14">nav</option>-->
						<!--<option value="15">tab</option>-->
						<!--<option value="16">table</option>-->
						<!--<option value="17">select</option>-->
						<!--<option value="18">checkbox</option>-->
						<!--<option value="19">switch</option>-->
						<!--<option value="20">radio</option>-->
			        <!--</select>-->
			        <!--<i class="layui-icon">&#xe615;</i>-->
			    <!--</div>-->
			    <!-- 天气信息 -->
			    <!--<div class="weather" pc>-->
			    	<!--<div id="tp-weather-widget"></div>-->
					<!--<script>(function(T,h,i,n,k,P,a,g,e){g=function(){P=h.createElement(i);a=h.getElementsByTagName(i)[0];P.src=k;P.charset="utf-8";P.async=1;a.parentNode.insertBefore(P,a)};T["ThinkPageWeatherWidgetObject"]=n;T[n]||(T[n]=function(){(T[n].q=T[n].q||[]).push(arguments)});T[n].l=+new Date();if(T.attachEvent){T.attachEvent("onload",g)}else{T.addEventListener("load",g,false)}}(window,document,"script","tpwidget","./js/chameleon.js"))</script>-->
					<!--<script>tpwidget("init", {-->
					    <!--"flavor": "slim",-->
					    <!--"location": "WX4FBXXFKE4F",-->
					    <!--"geolocation": "enabled",-->
					    <!--"language": "zh-chs",-->
					    <!--"unit": "c",-->
					    <!--"theme": "chameleon",-->
					    <!--"container": "tp-weather-widget",-->
					    <!--"bubble": "disabled",-->
					    <!--"alarmType": "badge",-->
					    <!--"color": "#FFFFFF",-->
					    <!--"uid": "U9EC08A15F",-->
					    <!--"hash": "039da28f5581f4bcb5c799fb4cdfb673"-->
					<!--});-->
					<!--tpwidget("show");</script>-->
			    <!--</div>-->
			    <!-- 顶部右侧菜单 -->
				<ul class="layui-nav top_menu">
					<li class="layui-nav-item" pc="">
						<a href="javascript:;">
							<img src="images/zyzl_head.png" class="layui-circle" width="35" height="35"/>
							<cite id="userName">至娱智乐</cite>
						</a>
						<dl class="layui-nav-child">
							<!--<dd><a href="javascript:;" data-url="page/user/userInfo.html"><i class="iconfont icon-zhanghu" data-icon="icon-zhanghu"></i><cite>个人资料</cite></a></dd>-->
							<dd><a href="javascript:;" data-url="page/user/changePwd.html"><i class="icon iconfont" data-icon="icon-shezhi1">&#xe607;</i><cite>修改密码</cite></a></dd>
							<!--<dd><a href="javascript:;" class="changeSkin"><i class="iconfont icon-huanfu"></i><cite>更换皮肤</cite></a></dd>-->
							<dd><a href="javascript:void(0);" onclick="loginOut();" class="signOut"><i class="icon iconfont">&#xe602;</i><cite>退出</cite></a></dd>
						</dl>
					</li>
				</ul>
			</div>
		</div>
		<!-- 左侧导航 -->
		<div class="layui-side layui-bg-black">
			<div class="user-photo">
				<a class="img" title="我的头像" ><img th:src="@{images/zyzl_head.png}"/></a>
			</div>
			<div class="navBar layui-side-scroll"></div>
		</div>
		<!-- 右侧内容 -->
		<div class="layui-body layui-form">
			<div class="layui-tab marg0" lay-filter="bodyTab" id="top_tabs_box">
				<ul class="layui-tab-title top_tab" id="top_tabs">
					<li class="layui-this" lay-id=""><i class="iconfont icon-computer"></i> <cite>头条主页</cite></li>
				</ul>
				<ul class="layui-nav closeBox">
				  <li class="layui-nav-item">
				    <a href="javascript:;"><i class="iconfont icon-caozuo"></i> 页面操作</a>
				    <dl class="layui-nav-child">
					  <dd><a href="javascript:;" class="refresh refreshThis"><i class="layui-icon">&#x1002;</i> 刷新当前</a></dd>
				      <dd><a href="javascript:;" class="closePageOther"><i class="iconfont icon-prohibit"></i> 关闭其他</a></dd>
				      <dd><a href="javascript:;" class="closePageAll"><i class="iconfont icon-guanbi"></i> 关闭全部</a></dd>
				    </dl>
				  </li>
				</ul>
				<div class="layui-tab-content clildFrame">
					<div class="layui-tab-item layui-show">
						<iframe src="page/building.html"></iframe>
					</div>
				</div>
			</div>
		</div>
	</div>
	
	<!-- 移动导航 -->
	<div class="site-tree-mobile layui-hide"><i class="layui-icon">&#xe602;</i></div>
	<div class="site-mobile-shade"></div>

	<script type="text/javascript" th:src="@{layui/layui.js}"></script>
	<script type="text/javascript" th:src="@{js/leftNav.js}"></script>
	<script type="text/javascript" th:src="@{js/index.js}"></script>
<script>
    function loginOut() {
        //清除session
        window.sessionStorage.removeItem("menu");
        menu = [];
        window.sessionStorage.removeItem("curmenu");
        $.ajax({
            url:"/loginOut",
            dataType:"json",
            async:false,
            cache:false,
            success: function(data) {
                window.location.href="/index.html";
            },
            error: function () {
                window.location.href="/index.html";
            }
        });
    }
</script>
</body>
</html>